package org.zwd.computePrice.service;

import org.zwd.computePrice.dao.CrabPriceDao;
import org.zwd.computePrice.domain.CrabPrice;

public class CrabPriceService {
	private CrabPriceDao crabPriceDao = new CrabPriceDao();
	public void appendPrice(CrabPrice crabPrice){
		crabPriceDao.insertPrice(crabPrice);
	}
	
	public CrabPrice findCrabPriceById(int id){
		return crabPriceDao.findPriceById(id);
	}
	
}
